<?php
class Application_Model_CheckCardResponse
{
    private $valid;
    private $receipt;
    private $message;
    public function __construct ($obj)
    {
        if (property_exists($obj, "valid")) {
            $this->setValid($obj->valid);
        }
        if (property_exists($obj, "receipt")) {
            $this->setReceipt($obj->receipt);
        }
        if (property_exists($obj, "message")) {
            $this->setMessage($obj->message);
        }
    }
    /**
     * @return the $valid
     */
    public function getValid ()
    {
        return $this->valid;
    }
    /**
     * @return the $receipt
     */
    public function getReceipt ()
    {
        return $this->receipt;
    }
    /**
     * @return the $message
     */
    public function getMessage ()
    {
        return $this->message;
    }
    /**
     * @param field_type $valid
     */
    public function setValid ($valid)
    {
        $this->valid = $valid;
    }
    /**
     * @param field_type $receipt
     */
    public function setReceipt ($receipt)
    {
        $this->receipt = $receipt;
    }
    /**
     * @param field_type $message
     */
    public function setMessage ($message)
    {
        $this->message = $message;
    }
}

